<%-- 
    Document   : viewDetailedEmp
    Created on : Jul 5, 2012, 8:57:59 AM
    Author     : Duc Huy
--%>
<%@page import="xml.entity.Employer"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>


<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>View Detailed Employer Page</title>
        <script type="text/javascript" src="script/RegisterChecking.js"></script>
        <link href="css/Main.css" rel="stylesheet" type="text/css" />
    </head>

    <body>	

        <table width="1000" border="0" align="center">
            <tr>
                <td colspan="3" align="right">
                    Welcome, ${sessionScope.USERNAME},         
                    <c:url var="Logout" value="Controller">
                        <c:param name="action" value="Logout"/>
                    </c:url>
                    <a href="${Logout}" class="Sign">Logout</a><br/><br/>

                </td>
            </tr>

            <tr>
                <td><img src="images/logo-job-portal.png" alt="" width="269" height="56" /></td>
                <td colspan="2">
                    <table border="0" id="wrap">
                        <tr id="menu">
                            <td width="100"></td>
                            <td class="shadow"><a href="home.jsp">HomePage</a></td>
                            <td width="10"></td>
                            <td class="shadow"><a href="aboutUs.jsp">About Us</a></td>
                            <td width="10"></td>
                            <td class="shadow"><a href="help.jsp">Help</a></td>
                            <td width="10"></td>
                            <td class="shadow"><a href="employerPage.jsp">Employer</a></td>
                            <td width="10"></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="3" align="center"><img src="images/bigpicture.jpg" width="1049" height="303" /></td>
            </tr>

            <tr><td colspan="3"><table width="600" border="0" align="center"><tr><td></td><td></td><td></td></tr></table></td></tr>
            <!--<tr>
                  <td colspan="3" align="center">
                  <table width="600" border="0" align="center">
                          <tr>
                          <td id="search" width="78"><label>Search</label></td>
                          <td width="272"><input type="search" name="txtSearch" size="30" placeholder="Input your search here" /></td>
                          <td width="236"><input name="btnSearch" type="button" value="  Search  " /></td>
                      </tr>
                  </table>
              </td>
            </tr>	-->
            <tr>
                <td><img src="images/left.png" width="208" height="975" /></td>
                <td width="800" rowspan="3" class="middle">

                    <a href="employerPage.jsp" class="Sign">Back to Employer page</a>
                    <h1><center>Employer Information</center></h1>

                    <h5 align="right"><span style="color:#0F0">*</span> is a must</h5>
                    <form action="EmployerController" method="post" onsubmit="return checkEmployer(this);">
                        <c:set var="myInfo" value="${sessionScope.EmpINFO}"/>
                        <center>
                            <table border="0">
                                <tr>
                                    <td colspan="2" style="border-bottom:3px solid #F00" align="center"></td>
                                </tr>
                                <tr>
                                    <td colspan="2"><h4>Comapny information</h4></td>
                                </tr>
                                <tr>
                                    <td align="left">Company Name</td>
                                    <td ><input type="text" required="true" name="companyName" value="${myInfo.companyName}" />*</td>
                                </tr>
                                <tr>
                                    <td align="left">Company Description
                                    </td>
                                    <td ><TEXTAREA name="companyDesc" id="companyDesc"rows=3 cols=30>${myInfo.companyDesc}</TEXTAREA>
                                    </td>

                                </tr>
                                <tr>
                                    <td align="left">Company Address</td>
                                    <td ><input type="text" required="true" name="companyAddress" value="${myInfo.companyAddress}" />*</td>
                                </tr>
                                <tr>
                                    <td align="left">City</td>
                                    <td ><input type="text" required="true" name="city" value="${myInfo.city}" />*</td>
                                </tr>
                                <tr>
                                    <td align="left">Web site</td>
                                    <td ><input type="url" name="website" value="${myInfo.website}" /></td>
                                </tr>
                                <tr>
                                    <td colspan="2" height="10px"></td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="border-bottom:3px solid #F00" align="center"></td>
                                </tr>
                                <tr>
                                    <td colspan="2"><h4>Front man information</h4></td>
                                </tr>
                                <tr>
                                    <td align="left">Full name</td>
                                    <td ><input type="text" required="true" name="fullname" value="${myInfo.fullname}" />*</td>
                                </tr>
                                <tr>
                                    <td align="left">Current Position</td>
                                    <td ><input type="text" required="true" name="currentPos" value="${myInfo.currentPos}" />*</td>
                                </tr>
                                <tr>
                                    <td align="left">Phone</td>
                                    <td ><input type="tel" pattern="[0-9]*" value="${myInfo.phone}" required="true" name="phone" placeholder="Number only" title="Phone is number only." />*</td>
                                </tr>
                                <tr>
                                    <td align="left">Email</td>
                                    <td ><input type="email" multiple required="true" value="${myInfo.email}" name="email" title="Please insert as aaa@aaa.aa format.">*</td>
                                </tr>
                                <tr>
                                    <td align="left">Address</td>
                                    <td ><input type="text" name="address" value="${myInfo.address}" /></td>
                                </tr>
                                <tr><td><br /></td><td><br /></td></tr>
                                <tr>
                                    <td align="right"><input type="submit" name="empAction" value="Edit" class="buttons"/></td>
                                </tr>
                            </table>
                        </center>
                    </form>



                </td>
                <td><img src="images/right.png" width="208" height="975" /></td>
            </tr>
        </table>
    </body>
</html>

